package com.liveneo.adapter.base.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

/**
 * 定损单主表 条件工具类
 * 
 * @author fucy
 * @since 2016-06-05
 */
public class PrpmLossMainExample {
    protected String         orderByClause;
    protected boolean        distinct;
    protected List<Criteria> oredCriteria;

    public PrpmLossMainExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 定损单主表
     * 数据库表：prpm_loss_main
     * 
     * @author fucy
     * @since 2016-06-05
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNull() {
            addCriterion("LossUuid is null");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNotNull() {
            addCriterion("LossUuid is not null");
            return (Criteria) this;
        }

        public Criteria andLossUuidEqualTo(String value) {
            addCriterion("LossUuid =", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotEqualTo(String value) {
            addCriterion("LossUuid <>", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThan(String value) {
            addCriterion("LossUuid >", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThanOrEqualTo(String value) {
            addCriterion("LossUuid >=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThan(String value) {
            addCriterion("LossUuid <", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThanOrEqualTo(String value) {
            addCriterion("LossUuid <=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLike(String value) {
            addCriterion("LossUuid like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotLike(String value) {
            addCriterion("LossUuid not like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidIn(List<String> values) {
            addCriterion("LossUuid in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotIn(List<String> values) {
            addCriterion("LossUuid not in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidBetween(String value1, String value2) {
            addCriterion("LossUuid between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotBetween(String value1, String value2) {
            addCriterion("LossUuid not between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossIDIsNull() {
            addCriterion("LossID is null");
            return (Criteria) this;
        }

        public Criteria andLossIDIsNotNull() {
            addCriterion("LossID is not null");
            return (Criteria) this;
        }

        public Criteria andLossIDEqualTo(String value) {
            addCriterion("LossID =", value, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDNotEqualTo(String value) {
            addCriterion("LossID <>", value, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDGreaterThan(String value) {
            addCriterion("LossID >", value, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDGreaterThanOrEqualTo(String value) {
            addCriterion("LossID >=", value, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDLessThan(String value) {
            addCriterion("LossID <", value, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDLessThanOrEqualTo(String value) {
            addCriterion("LossID <=", value, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDLike(String value) {
            addCriterion("LossID like", value, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDNotLike(String value) {
            addCriterion("LossID not like", value, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDIn(List<String> values) {
            addCriterion("LossID in", values, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDNotIn(List<String> values) {
            addCriterion("LossID not in", values, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDBetween(String value1, String value2) {
            addCriterion("LossID between", value1, value2, "lossID");
            return (Criteria) this;
        }

        public Criteria andLossIDNotBetween(String value1, String value2) {
            addCriterion("LossID not between", value1, value2, "lossID");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNull() {
            addCriterion("CaseNo is null");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNotNull() {
            addCriterion("CaseNo is not null");
            return (Criteria) this;
        }

        public Criteria andCaseNoEqualTo(String value) {
            addCriterion("CaseNo =", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotEqualTo(String value) {
            addCriterion("CaseNo <>", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThan(String value) {
            addCriterion("CaseNo >", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThanOrEqualTo(String value) {
            addCriterion("CaseNo >=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThan(String value) {
            addCriterion("CaseNo <", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThanOrEqualTo(String value) {
            addCriterion("CaseNo <=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLike(String value) {
            addCriterion("CaseNo like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotLike(String value) {
            addCriterion("CaseNo not like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoIn(List<String> values) {
            addCriterion("CaseNo in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotIn(List<String> values) {
            addCriterion("CaseNo not in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoBetween(String value1, String value2) {
            addCriterion("CaseNo between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotBetween(String value1, String value2) {
            addCriterion("CaseNo not between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNull() {
            addCriterion("CaseUuid is null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNotNull() {
            addCriterion("CaseUuid is not null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidEqualTo(String value) {
            addCriterion("CaseUuid =", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotEqualTo(String value) {
            addCriterion("CaseUuid <>", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThan(String value) {
            addCriterion("CaseUuid >", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThanOrEqualTo(String value) {
            addCriterion("CaseUuid >=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThan(String value) {
            addCriterion("CaseUuid <", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThanOrEqualTo(String value) {
            addCriterion("CaseUuid <=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLike(String value) {
            addCriterion("CaseUuid like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotLike(String value) {
            addCriterion("CaseUuid not like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIn(List<String> values) {
            addCriterion("CaseUuid in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotIn(List<String> values) {
            addCriterion("CaseUuid not in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidBetween(String value1, String value2) {
            addCriterion("CaseUuid between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotBetween(String value1, String value2) {
            addCriterion("CaseUuid not between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andInsurantNameIsNull() {
            addCriterion("InsurantName is null");
            return (Criteria) this;
        }

        public Criteria andInsurantNameIsNotNull() {
            addCriterion("InsurantName is not null");
            return (Criteria) this;
        }

        public Criteria andInsurantNameEqualTo(String value) {
            addCriterion("InsurantName =", value, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameNotEqualTo(String value) {
            addCriterion("InsurantName <>", value, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameGreaterThan(String value) {
            addCriterion("InsurantName >", value, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameGreaterThanOrEqualTo(String value) {
            addCriterion("InsurantName >=", value, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameLessThan(String value) {
            addCriterion("InsurantName <", value, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameLessThanOrEqualTo(String value) {
            addCriterion("InsurantName <=", value, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameLike(String value) {
            addCriterion("InsurantName like", value, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameNotLike(String value) {
            addCriterion("InsurantName not like", value, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameIn(List<String> values) {
            addCriterion("InsurantName in", values, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameNotIn(List<String> values) {
            addCriterion("InsurantName not in", values, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameBetween(String value1, String value2) {
            addCriterion("InsurantName between", value1, value2, "insurantName");
            return (Criteria) this;
        }

        public Criteria andInsurantNameNotBetween(String value1, String value2) {
            addCriterion("InsurantName not between", value1, value2, "insurantName");
            return (Criteria) this;
        }

        public Criteria andLicenseNoIsNull() {
            addCriterion("LicenseNo is null");
            return (Criteria) this;
        }

        public Criteria andLicenseNoIsNotNull() {
            addCriterion("LicenseNo is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseNoEqualTo(String value) {
            addCriterion("LicenseNo =", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoNotEqualTo(String value) {
            addCriterion("LicenseNo <>", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoGreaterThan(String value) {
            addCriterion("LicenseNo >", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoGreaterThanOrEqualTo(String value) {
            addCriterion("LicenseNo >=", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoLessThan(String value) {
            addCriterion("LicenseNo <", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoLessThanOrEqualTo(String value) {
            addCriterion("LicenseNo <=", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoLike(String value) {
            addCriterion("LicenseNo like", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoNotLike(String value) {
            addCriterion("LicenseNo not like", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoIn(List<String> values) {
            addCriterion("LicenseNo in", values, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoNotIn(List<String> values) {
            addCriterion("LicenseNo not in", values, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoBetween(String value1, String value2) {
            addCriterion("LicenseNo between", value1, value2, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoNotBetween(String value1, String value2) {
            addCriterion("LicenseNo not between", value1, value2, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoIsNull() {
            addCriterion("FrameNo is null");
            return (Criteria) this;
        }

        public Criteria andFrameNoIsNotNull() {
            addCriterion("FrameNo is not null");
            return (Criteria) this;
        }

        public Criteria andFrameNoEqualTo(String value) {
            addCriterion("FrameNo =", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoNotEqualTo(String value) {
            addCriterion("FrameNo <>", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoGreaterThan(String value) {
            addCriterion("FrameNo >", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoGreaterThanOrEqualTo(String value) {
            addCriterion("FrameNo >=", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoLessThan(String value) {
            addCriterion("FrameNo <", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoLessThanOrEqualTo(String value) {
            addCriterion("FrameNo <=", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoLike(String value) {
            addCriterion("FrameNo like", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoNotLike(String value) {
            addCriterion("FrameNo not like", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoIn(List<String> values) {
            addCriterion("FrameNo in", values, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoNotIn(List<String> values) {
            addCriterion("FrameNo not in", values, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoBetween(String value1, String value2) {
            addCriterion("FrameNo between", value1, value2, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoNotBetween(String value1, String value2) {
            addCriterion("FrameNo not between", value1, value2, "frameNo");
            return (Criteria) this;
        }

        public Criteria andDriverNameIsNull() {
            addCriterion("DriverName is null");
            return (Criteria) this;
        }

        public Criteria andDriverNameIsNotNull() {
            addCriterion("DriverName is not null");
            return (Criteria) this;
        }

        public Criteria andDriverNameEqualTo(String value) {
            addCriterion("DriverName =", value, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameNotEqualTo(String value) {
            addCriterion("DriverName <>", value, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameGreaterThan(String value) {
            addCriterion("DriverName >", value, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameGreaterThanOrEqualTo(String value) {
            addCriterion("DriverName >=", value, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameLessThan(String value) {
            addCriterion("DriverName <", value, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameLessThanOrEqualTo(String value) {
            addCriterion("DriverName <=", value, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameLike(String value) {
            addCriterion("DriverName like", value, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameNotLike(String value) {
            addCriterion("DriverName not like", value, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameIn(List<String> values) {
            addCriterion("DriverName in", values, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameNotIn(List<String> values) {
            addCriterion("DriverName not in", values, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameBetween(String value1, String value2) {
            addCriterion("DriverName between", value1, value2, "driverName");
            return (Criteria) this;
        }

        public Criteria andDriverNameNotBetween(String value1, String value2) {
            addCriterion("DriverName not between", value1, value2, "driverName");
            return (Criteria) this;
        }

        public Criteria andDamageDateIsNull() {
            addCriterion("DamageDate is null");
            return (Criteria) this;
        }

        public Criteria andDamageDateIsNotNull() {
            addCriterion("DamageDate is not null");
            return (Criteria) this;
        }

        public Criteria andDamageDateEqualTo(Date value) {
            addCriterionForJDBCDate("DamageDate =", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("DamageDate <>", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateGreaterThan(Date value) {
            addCriterionForJDBCDate("DamageDate >", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DamageDate >=", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateLessThan(Date value) {
            addCriterionForJDBCDate("DamageDate <", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DamageDate <=", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateIn(List<Date> values) {
            addCriterionForJDBCDate("DamageDate in", values, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("DamageDate not in", values, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DamageDate between", value1, value2, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DamageDate not between", value1, value2, "damageDate");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoIsNull() {
            addCriterion("LossLicenseNo is null");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoIsNotNull() {
            addCriterion("LossLicenseNo is not null");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoEqualTo(String value) {
            addCriterion("LossLicenseNo =", value, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoNotEqualTo(String value) {
            addCriterion("LossLicenseNo <>", value, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoGreaterThan(String value) {
            addCriterion("LossLicenseNo >", value, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoGreaterThanOrEqualTo(String value) {
            addCriterion("LossLicenseNo >=", value, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoLessThan(String value) {
            addCriterion("LossLicenseNo <", value, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoLessThanOrEqualTo(String value) {
            addCriterion("LossLicenseNo <=", value, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoLike(String value) {
            addCriterion("LossLicenseNo like", value, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoNotLike(String value) {
            addCriterion("LossLicenseNo not like", value, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoIn(List<String> values) {
            addCriterion("LossLicenseNo in", values, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoNotIn(List<String> values) {
            addCriterion("LossLicenseNo not in", values, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoBetween(String value1, String value2) {
            addCriterion("LossLicenseNo between", value1, value2, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andLossLicenseNoNotBetween(String value1, String value2) {
            addCriterion("LossLicenseNo not between", value1, value2, "lossLicenseNo");
            return (Criteria) this;
        }

        public Criteria andIfObjectIsNull() {
            addCriterion("IfObject is null");
            return (Criteria) this;
        }

        public Criteria andIfObjectIsNotNull() {
            addCriterion("IfObject is not null");
            return (Criteria) this;
        }

        public Criteria andIfObjectEqualTo(Integer value) {
            addCriterion("IfObject =", value, "ifObject");
            return (Criteria) this;
        }

        public Criteria andIfObjectNotEqualTo(Integer value) {
            addCriterion("IfObject <>", value, "ifObject");
            return (Criteria) this;
        }

        public Criteria andIfObjectGreaterThan(Integer value) {
            addCriterion("IfObject >", value, "ifObject");
            return (Criteria) this;
        }

        public Criteria andIfObjectGreaterThanOrEqualTo(Integer value) {
            addCriterion("IfObject >=", value, "ifObject");
            return (Criteria) this;
        }

        public Criteria andIfObjectLessThan(Integer value) {
            addCriterion("IfObject <", value, "ifObject");
            return (Criteria) this;
        }

        public Criteria andIfObjectLessThanOrEqualTo(Integer value) {
            addCriterion("IfObject <=", value, "ifObject");
            return (Criteria) this;
        }

        public Criteria andIfObjectIn(List<Integer> values) {
            addCriterion("IfObject in", values, "ifObject");
            return (Criteria) this;
        }

        public Criteria andIfObjectNotIn(List<Integer> values) {
            addCriterion("IfObject not in", values, "ifObject");
            return (Criteria) this;
        }

        public Criteria andIfObjectBetween(Integer value1, Integer value2) {
            addCriterion("IfObject between", value1, value2, "ifObject");
            return (Criteria) this;
        }

        public Criteria andIfObjectNotBetween(Integer value1, Integer value2) {
            addCriterion("IfObject not between", value1, value2, "ifObject");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalIsNull() {
            addCriterion("LossAmountTotal is null");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalIsNotNull() {
            addCriterion("LossAmountTotal is not null");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalEqualTo(Double value) {
            addCriterion("LossAmountTotal =", value, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalNotEqualTo(Double value) {
            addCriterion("LossAmountTotal <>", value, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalGreaterThan(Double value) {
            addCriterion("LossAmountTotal >", value, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalGreaterThanOrEqualTo(Double value) {
            addCriterion("LossAmountTotal >=", value, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalLessThan(Double value) {
            addCriterion("LossAmountTotal <", value, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalLessThanOrEqualTo(Double value) {
            addCriterion("LossAmountTotal <=", value, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalIn(List<Double> values) {
            addCriterion("LossAmountTotal in", values, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalNotIn(List<Double> values) {
            addCriterion("LossAmountTotal not in", values, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalBetween(Double value1, Double value2) {
            addCriterion("LossAmountTotal between", value1, value2, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalNotBetween(Double value1, Double value2) {
            addCriterion("LossAmountTotal not between", value1, value2, "lossAmountTotal");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrIsNull() {
            addCriterion("LossAmountTotalStr is null");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrIsNotNull() {
            addCriterion("LossAmountTotalStr is not null");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrEqualTo(String value) {
            addCriterion("LossAmountTotalStr =", value, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrNotEqualTo(String value) {
            addCriterion("LossAmountTotalStr <>", value, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrGreaterThan(String value) {
            addCriterion("LossAmountTotalStr >", value, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrGreaterThanOrEqualTo(String value) {
            addCriterion("LossAmountTotalStr >=", value, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrLessThan(String value) {
            addCriterion("LossAmountTotalStr <", value, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrLessThanOrEqualTo(String value) {
            addCriterion("LossAmountTotalStr <=", value, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrLike(String value) {
            addCriterion("LossAmountTotalStr like", value, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrNotLike(String value) {
            addCriterion("LossAmountTotalStr not like", value, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrIn(List<String> values) {
            addCriterion("LossAmountTotalStr in", values, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrNotIn(List<String> values) {
            addCriterion("LossAmountTotalStr not in", values, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrBetween(String value1, String value2) {
            addCriterion("LossAmountTotalStr between", value1, value2, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andLossAmountTotalStrNotBetween(String value1, String value2) {
            addCriterion("LossAmountTotalStr not between", value1, value2, "lossAmountTotalStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountIsNull() {
            addCriterion("FitSumAmount is null");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountIsNotNull() {
            addCriterion("FitSumAmount is not null");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountEqualTo(Double value) {
            addCriterion("FitSumAmount =", value, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountNotEqualTo(Double value) {
            addCriterion("FitSumAmount <>", value, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountGreaterThan(Double value) {
            addCriterion("FitSumAmount >", value, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("FitSumAmount >=", value, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountLessThan(Double value) {
            addCriterion("FitSumAmount <", value, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountLessThanOrEqualTo(Double value) {
            addCriterion("FitSumAmount <=", value, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountIn(List<Double> values) {
            addCriterion("FitSumAmount in", values, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountNotIn(List<Double> values) {
            addCriterion("FitSumAmount not in", values, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountBetween(Double value1, Double value2) {
            addCriterion("FitSumAmount between", value1, value2, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountNotBetween(Double value1, Double value2) {
            addCriterion("FitSumAmount not between", value1, value2, "fitSumAmount");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrIsNull() {
            addCriterion("FitSumAmountStr is null");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrIsNotNull() {
            addCriterion("FitSumAmountStr is not null");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrEqualTo(String value) {
            addCriterion("FitSumAmountStr =", value, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrNotEqualTo(String value) {
            addCriterion("FitSumAmountStr <>", value, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrGreaterThan(String value) {
            addCriterion("FitSumAmountStr >", value, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrGreaterThanOrEqualTo(String value) {
            addCriterion("FitSumAmountStr >=", value, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrLessThan(String value) {
            addCriterion("FitSumAmountStr <", value, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrLessThanOrEqualTo(String value) {
            addCriterion("FitSumAmountStr <=", value, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrLike(String value) {
            addCriterion("FitSumAmountStr like", value, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrNotLike(String value) {
            addCriterion("FitSumAmountStr not like", value, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrIn(List<String> values) {
            addCriterion("FitSumAmountStr in", values, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrNotIn(List<String> values) {
            addCriterion("FitSumAmountStr not in", values, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrBetween(String value1, String value2) {
            addCriterion("FitSumAmountStr between", value1, value2, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFitSumAmountStrNotBetween(String value1, String value2) {
            addCriterion("FitSumAmountStr not between", value1, value2, "fitSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountIsNull() {
            addCriterion("RepairSumAmount is null");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountIsNotNull() {
            addCriterion("RepairSumAmount is not null");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountEqualTo(Double value) {
            addCriterion("RepairSumAmount =", value, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountNotEqualTo(Double value) {
            addCriterion("RepairSumAmount <>", value, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountGreaterThan(Double value) {
            addCriterion("RepairSumAmount >", value, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("RepairSumAmount >=", value, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountLessThan(Double value) {
            addCriterion("RepairSumAmount <", value, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountLessThanOrEqualTo(Double value) {
            addCriterion("RepairSumAmount <=", value, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountIn(List<Double> values) {
            addCriterion("RepairSumAmount in", values, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountNotIn(List<Double> values) {
            addCriterion("RepairSumAmount not in", values, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountBetween(Double value1, Double value2) {
            addCriterion("RepairSumAmount between", value1, value2, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountNotBetween(Double value1, Double value2) {
            addCriterion("RepairSumAmount not between", value1, value2, "repairSumAmount");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrIsNull() {
            addCriterion("RepairSumAmountStr is null");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrIsNotNull() {
            addCriterion("RepairSumAmountStr is not null");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrEqualTo(String value) {
            addCriterion("RepairSumAmountStr =", value, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrNotEqualTo(String value) {
            addCriterion("RepairSumAmountStr <>", value, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrGreaterThan(String value) {
            addCriterion("RepairSumAmountStr >", value, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrGreaterThanOrEqualTo(String value) {
            addCriterion("RepairSumAmountStr >=", value, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrLessThan(String value) {
            addCriterion("RepairSumAmountStr <", value, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrLessThanOrEqualTo(String value) {
            addCriterion("RepairSumAmountStr <=", value, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrLike(String value) {
            addCriterion("RepairSumAmountStr like", value, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrNotLike(String value) {
            addCriterion("RepairSumAmountStr not like", value, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrIn(List<String> values) {
            addCriterion("RepairSumAmountStr in", values, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrNotIn(List<String> values) {
            addCriterion("RepairSumAmountStr not in", values, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrBetween(String value1, String value2) {
            addCriterion("RepairSumAmountStr between", value1, value2, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andRepairSumAmountStrNotBetween(String value1, String value2) {
            addCriterion("RepairSumAmountStr not between", value1, value2, "repairSumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountIsNull() {
            addCriterion("AccessorySumAmount is null");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountIsNotNull() {
            addCriterion("AccessorySumAmount is not null");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountEqualTo(Double value) {
            addCriterion("AccessorySumAmount =", value, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountNotEqualTo(Double value) {
            addCriterion("AccessorySumAmount <>", value, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountGreaterThan(Double value) {
            addCriterion("AccessorySumAmount >", value, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("AccessorySumAmount >=", value, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountLessThan(Double value) {
            addCriterion("AccessorySumAmount <", value, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountLessThanOrEqualTo(Double value) {
            addCriterion("AccessorySumAmount <=", value, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountIn(List<Double> values) {
            addCriterion("AccessorySumAmount in", values, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountNotIn(List<Double> values) {
            addCriterion("AccessorySumAmount not in", values, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountBetween(Double value1, Double value2) {
            addCriterion("AccessorySumAmount between", value1, value2, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountNotBetween(Double value1, Double value2) {
            addCriterion("AccessorySumAmount not between", value1, value2, "accessorySumAmount");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrIsNull() {
            addCriterion("AccessorySumAmountStr is null");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrIsNotNull() {
            addCriterion("AccessorySumAmountStr is not null");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrEqualTo(String value) {
            addCriterion("AccessorySumAmountStr =", value, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrNotEqualTo(String value) {
            addCriterion("AccessorySumAmountStr <>", value, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrGreaterThan(String value) {
            addCriterion("AccessorySumAmountStr >", value, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrGreaterThanOrEqualTo(String value) {
            addCriterion("AccessorySumAmountStr >=", value, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrLessThan(String value) {
            addCriterion("AccessorySumAmountStr <", value, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrLessThanOrEqualTo(String value) {
            addCriterion("AccessorySumAmountStr <=", value, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrLike(String value) {
            addCriterion("AccessorySumAmountStr like", value, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrNotLike(String value) {
            addCriterion("AccessorySumAmountStr not like", value, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrIn(List<String> values) {
            addCriterion("AccessorySumAmountStr in", values, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrNotIn(List<String> values) {
            addCriterion("AccessorySumAmountStr not in", values, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrBetween(String value1, String value2) {
            addCriterion("AccessorySumAmountStr between", value1, value2, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andAccessorySumAmountStrNotBetween(String value1, String value2) {
            addCriterion("AccessorySumAmountStr not between", value1, value2, "accessorySumAmountStr");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("Flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("Flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(String value) {
            addCriterion("Flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(String value) {
            addCriterion("Flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(String value) {
            addCriterion("Flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(String value) {
            addCriterion("Flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(String value) {
            addCriterion("Flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(String value) {
            addCriterion("Flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLike(String value) {
            addCriterion("Flag like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotLike(String value) {
            addCriterion("Flag not like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<String> values) {
            addCriterion("Flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<String> values) {
            addCriterion("Flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(String value1, String value2) {
            addCriterion("Flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(String value1, String value2) {
            addCriterion("Flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andN1IsNull() {
            addCriterion("N1 is null");
            return (Criteria) this;
        }

        public Criteria andN1IsNotNull() {
            addCriterion("N1 is not null");
            return (Criteria) this;
        }

        public Criteria andN1EqualTo(String value) {
            addCriterion("N1 =", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotEqualTo(String value) {
            addCriterion("N1 <>", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThan(String value) {
            addCriterion("N1 >", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThanOrEqualTo(String value) {
            addCriterion("N1 >=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThan(String value) {
            addCriterion("N1 <", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThanOrEqualTo(String value) {
            addCriterion("N1 <=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Like(String value) {
            addCriterion("N1 like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotLike(String value) {
            addCriterion("N1 not like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1In(List<String> values) {
            addCriterion("N1 in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotIn(List<String> values) {
            addCriterion("N1 not in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Between(String value1, String value2) {
            addCriterion("N1 between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotBetween(String value1, String value2) {
            addCriterion("N1 not between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN2IsNull() {
            addCriterion("N2 is null");
            return (Criteria) this;
        }

        public Criteria andN2IsNotNull() {
            addCriterion("N2 is not null");
            return (Criteria) this;
        }

        public Criteria andN2EqualTo(String value) {
            addCriterion("N2 =", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotEqualTo(String value) {
            addCriterion("N2 <>", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThan(String value) {
            addCriterion("N2 >", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThanOrEqualTo(String value) {
            addCriterion("N2 >=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThan(String value) {
            addCriterion("N2 <", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThanOrEqualTo(String value) {
            addCriterion("N2 <=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Like(String value) {
            addCriterion("N2 like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotLike(String value) {
            addCriterion("N2 not like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2In(List<String> values) {
            addCriterion("N2 in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotIn(List<String> values) {
            addCriterion("N2 not in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Between(String value1, String value2) {
            addCriterion("N2 between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotBetween(String value1, String value2) {
            addCriterion("N2 not between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN3IsNull() {
            addCriterion("N3 is null");
            return (Criteria) this;
        }

        public Criteria andN3IsNotNull() {
            addCriterion("N3 is not null");
            return (Criteria) this;
        }

        public Criteria andN3EqualTo(String value) {
            addCriterion("N3 =", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotEqualTo(String value) {
            addCriterion("N3 <>", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThan(String value) {
            addCriterion("N3 >", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThanOrEqualTo(String value) {
            addCriterion("N3 >=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThan(String value) {
            addCriterion("N3 <", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThanOrEqualTo(String value) {
            addCriterion("N3 <=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Like(String value) {
            addCriterion("N3 like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotLike(String value) {
            addCriterion("N3 not like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3In(List<String> values) {
            addCriterion("N3 in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotIn(List<String> values) {
            addCriterion("N3 not in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Between(String value1, String value2) {
            addCriterion("N3 between", value1, value2, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotBetween(String value1, String value2) {
            addCriterion("N3 not between", value1, value2, "n3");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table prpm_loss_main
     *
     * @mbggenerated do_not_delete_during_merge Tue Jun 07 10:21:44 CST 2016
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * 定损单主表
     * 数据库表：prpm_loss_main
     * 
     * @author fucy
     * @since 2016-06-05
     */
    public static class Criterion {
        private String  condition;
        private Object  value;
        private Object  secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String  typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}